﻿<%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %>
<%@ Import Namespace="Microsoft.SharePoint.ApplicationPages" %>
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="asp" Namespace="System.Web.UI" Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>
<%@ Import Namespace="Microsoft.SharePoint" %>
<%@ Assembly Name="Microsoft.Web.CommandUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="P15QSCC.aspx.cs" Inherits="ConsolidationTool.WebParts.Layouts.CReport.Brochure.P15QSCC" DynamicMasterPageFile="~masterurl/default.master" %>
<%@ Register TagName="EntitySelector" TagPrefix="RE" Src="~/_controltemplates/ConsolidationTool.WebParts/CommonEntitySelector.ascx" %>

<asp:Content ID="PageHead" ContentPlaceHolderID="PlaceHolderAdditionalPageHead" runat="server">
<style type="text/css">
    .fs-common-selector{border-collapse:collapse; font-size:12px;}
    .fs-common-selector td,.fs-common-selector th{text-align:left;text-indent:.5em;border:1px solid #ccc}
    .fs-common-selector th{background-color:#F7FBFF}
    
    td.gray,td.gray input{background-color:#E7E7E7; border:0;}
    td.blue,td.blue input{background-color:#E2F3FF; border:0;}
    td.green,td.green input{background-color:#ccffff; border:0;}
    td.yellow,td.yellow input{background-color:#ffff99; border:0;}
    td.deepgreen,td.deepgreen input{background-color:#ccffcc; border:0;}
    td.green_loading,td.green_loading input{background-color:#DDF8E4; border:0;}
    
    .fs-control-done{ color:Green;}
    .fs-control-fail{ color:Blue; font-weight:bold;}
    
    .fs-webpart-container{min-width:850px}
    .fs-webpart-top{margin-bottom:1em}
    .commontable{width:98%;border-collapse:collapse; font-size:12px;}
    .commontable input[type=text],.fs-common-selector input[type=text]{width:95%; text-align:right;}
    .commontable td[identity]{text-align:center;}
    .commontable td{border:1px solid #ccc;min-height:20px;padding:.3em;}
    .fs-bottom-action{text-align:center;width:95%}
    .fs-display-title{min-width:160px;display:inline-block}
    .fs-control-field{ display:none;}
    .fs-control-display{  text-align:right;}
    .die{ display:none;}
</style>
</asp:Content>

<asp:Content ID="Main" ContentPlaceHolderID="PlaceHolderMain" runat="server">
  <div class="fs-webpart-top">
        <RE:EntitySelector ID="commonEntitySelector" runat="server" />
    </div>
    
    <br />
    <asp:Button ID="GenerateReport" runat="server" Text="Generate Report" OnClick="GenerateReport_Click" />
    <asp:Button ID="ExportReport" runat="server" Text="Export Report" OnClick="ExportReport_Click" />
    <br /><br />
    <table class="commontable">
        <tr>
            <td align="center" colspan="8"><span class="fs-display-title" style="font-weight: 700">G - QUALITY / CUSTOMER CLAIMS (Total Market Area)</span></td>
        </tr>
        <tr>
            <td></td>
            <td align="center" colspan="2"><span class="fs-display-title" style="font-weight: 700"><asp:Label ID="LabelCurrentMonth" runat="server" Text=""></asp:Label></span></td>
            <td></td>
            <td align="center" colspan="2"><span class="fs-display-title" style="font-weight: 700"><asp:Label ID="LabelYTD" runat="server" Text=""></asp:Label></span></td>
            <td colspan="2"></td>
        </tr>
        <tr>
            <td align="center"></td>
            <td class="green" align="center">N-1</td>
            <td class="deepgreen" align="center">ACTUAL</td>
            <td></td>
            <td class="green" align="center">N-1</td>
            <td class="deepgreen" align="center">ACTUAL</td>
            <td></td>
            <td class="yellow" align="center">MAX</td>
        </tr>
        <tr>
            <td align="center"><asp:Label ID="Label01_Day01" runat="server" Text=""></asp:Label></td>
            <td class="green"align="center"><asp:Label ID="Label01_Day02" runat="server" Text=""></asp:Label></td>
            <td class="deepgreen" align="center"><asp:Label ID="Label01_Day03" runat="server" Text=""></asp:Label></td>
            <td></td>
            <td class="green"align="center"><asp:Label ID="Label01_Day04" runat="server" Text=""></asp:Label></td>
            <td class="deepgreen" align="center"><asp:Label ID="Label01_Day05" runat="server" Text=""></asp:Label></td>
            <td></td>
            <td class="yellow" align="center"><asp:Label ID="Label01_Day06" runat="server" Text=""></asp:Label></td>
        </tr>
        <tr>
            <td align="center"><asp:Label ID="Label02_Day01" runat="server" Text=""></asp:Label></td>
            <td class="green"align="center"><asp:Label ID="Label02_Day02" runat="server" Text=""></asp:Label></td>
            <td class="deepgreen" align="center"><asp:Label ID="Label02_Day03" runat="server" Text=""></asp:Label></td>
            <td></td>
            <td class="green" align="center"><asp:Label ID="Label02_Day04" runat="server" Text=""></asp:Label></td>
            <td class="deepgreen" align="center"><asp:Label ID="Label02_Day05" runat="server" Text=""></asp:Label></td>
            <td></td>
            <td class="yellow" align="center"><asp:Label ID="Label02_Day06" runat="server" Text=""></asp:Label></td>
        </tr>
        <tr>
            <td></td>
            <td colspan="7"></td>
        </tr>
   
     
    </table>
    <br />
    <table class="commontable">
        <asp:Repeater ID="RPGAP" runat="server"> 
            <ItemTemplate>
                <tr>
                    <td> 
                        <%# Eval("title") %>
                    </td>
                    <asp:Repeater ID="RPValue" runat="server">
                        <ItemTemplate>
                            <td>
                            <%# GetDataItem()%>
                            </td>
                        </ItemTemplate>
                    </asp:Repeater>
                </tr> 
            </ItemTemplate>
        </asp:Repeater>
     
    </table>
    <script type="text/javascript">
        $(function () {

            $("table.commontable tr td span[id*=Label]").each(function () {
                var self = $(this); self.text(self.text().commafy());
            });
        })
    </script>
</asp:Content>

<asp:Content ID="PageTitle" ContentPlaceHolderID="PlaceHolderPageTitle" runat="server">
Brochure Report - K - 1 - RELIABILITY : SAFETY / SECURITY
</asp:Content>

<asp:Content ID="PageTitleInTitleArea" ContentPlaceHolderID="PlaceHolderPageTitleInTitleArea" runat="server" >
我的应用程序页
</asp:Content>
